using System;
using System.Collections.Generic;
using System.Collections.Specialized;
using System.Text;
using System.Windows.Forms;
using System.Collections;

namespace ctsu.Admin.Forms
{
    class RoomUsage
    {
        public RoomUsage()
        {
        }

        public string TimeIn = "";
        public string TimeOut = "";
        public DateTime VisitDate;        
        public decimal Duration;
    }

    class Room
    {
        public Room()
        {
        }

        public string Name;
        public int Val;
        public OrderedDictionary OdUsage = null;
    }

    class Concurrency
    {
        public Concurrency()
        { }

        public int Hour = 0;         
        public string Rooms = "";
        public int Exams = 0;
        public int Consults = 0;
        public int RoomsUsed = 0;
        public bool IsOperational = true;

    }

    class SummaryHourRoomUsage
    {
        public SummaryHourRoomUsage()
        {
            SummaryDayRoomUsage sdru = new SummaryDayRoomUsage();
            DaySummaryList.Add(DayOfWeek.Monday, sdru);
            
            sdru = new SummaryDayRoomUsage();
            sdru.DayName = DayOfWeek.Tuesday;
            DaySummaryList.Add(DayOfWeek.Tuesday, sdru);
            
            sdru = new SummaryDayRoomUsage();
            sdru.DayName = DayOfWeek.Wednesday;
            DaySummaryList.Add(DayOfWeek.Wednesday, sdru);

            sdru = new SummaryDayRoomUsage();
            sdru.DayName = DayOfWeek.Thursday;
            DaySummaryList.Add(DayOfWeek.Thursday, sdru);

            sdru = new SummaryDayRoomUsage();
            sdru.DayName = DayOfWeek.Friday;
            DaySummaryList.Add(DayOfWeek.Friday, sdru);

            sdru = new SummaryDayRoomUsage();
            sdru.DayName = DayOfWeek.Saturday;
            DaySummaryList.Add(DayOfWeek.Saturday, sdru);
        }
        public int Hour = 0;
        public int OperationalDays = 0;  //this is used to count days        
        public int Census = 0;
        public int Exams = 0;
        public int Consults = 0;
        public Dictionary<DayOfWeek, SummaryDayRoomUsage> DaySummaryList = new Dictionary<DayOfWeek,SummaryDayRoomUsage>();
    }

    class SummaryDayRoomUsage
    {
        public SummaryDayRoomUsage()
        { }
        public DayOfWeek DayName = DayOfWeek.Monday;
        public Hashtable OperationalDays = new Hashtable();  //this is used to count days
        public int Census = 0;
        public int Exams = 0;
        public int Consults = 0;
    }


}
